// src/js/video_about.js
const videoInfo = {
  videoId: 101,
  videoName: "Python编程入门",
  videoRemake: "适合初学者的Python编程课程",
  videoImg: "/static/video_preview/爬.png",
  price: "99.99",
  oldPrice: "129.99",
  status: 1,
  teacher: {
    teacherId: 301,
    teacherName: "陈老师"
  },
  features: {
    features1: "高清画质",
    features2: "实时问答",
    features3: "案例丰富"
  }
};

function updateVideoInfo(newData) {
  Object.assign(videoInfo, newData); // 更新对象的属性
}

function logVideoInfo() {
  console.log("当前视频信息:", videoInfo);
}

export { videoInfo, updateVideoInfo, logVideoInfo };
